package arbore;

import visitor.Visitor;

public class ArboreFunctional {
	protected Nod radacina;

	public ArboreFunctional(Nod radacina) {
		super();
		this.radacina = radacina;
	}

	public Nod getRadacina() {
		return radacina;
	}

	public void setRadacina(Nod radacina) {
		this.radacina = radacina;
	}
	public void acceptVisitor(Visitor v)
	{
		v.visit(radacina);
	}
}
